#ifndef COMPLEX_H
#define COMPLEX_H


class Complex
{
    double a;
    double b;
public:
    explicit Complex(double a=0, double b=0);
    double getA();
    double getB();
    double getMoudulus();

    Complex operator + (const Complex& c);
    Complex operator - (const Complex& c);
    Complex operator * (const Complex& c);
    Complex operator / (const Complex& c);

    bool operator == (const Complex& c);
    bool operator != (const Complex& c);

    Complex& operator = (const Complex& c);

};

#endif // COMPLEX_H
